//
//  CustomerMiddleButton.m
//  Demo
//
//  Created by 王跃 on 2017/12/27.
//  Copyright © 2017年 WY. All rights reserved.
//

#import "CustomerMiddleButton.h"

@implementation CustomerMiddleButton

- (CGRect)imageRectForContentRect:(CGRect)contentRect
{
    return CGRectMake(self.bounds.size.width/2 - 20,
                      -3,
                      40,
                      40);
}

- (CGRect)titleRectForContentRect:(CGRect)contentRect
{
    return CGRectMake(0,
                      35,
                      self.bounds.size.width,
                      24);
}

@end
